///<reference path="../bootstrap/bootstrap.ts"/>

module MainFeature {
    export class MainController{
        private scope: any;
        private mainService: MainFeature.IMainService;
        private message: string;

        constructor($scope: ng.IScope, mainService: MainFeature.IMainService){
            this.scope = $scope;
            this.mainService = mainService;
            this.SetMessage();
        }

        public SetMessage():void{
            this.message = this.mainService.GetMessage();
        }
    }
}